<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.red{
				color:red;
			}
			.blue{
				background: blue;
			}
		</style>
		<script src="vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="box"> 
			<span :style="[c,b]">文字……</span>
		</div>
		<script type="text/javascript">
			new Vue({
				el: '#box',
				data: {
				 	c:{'color':'red'},
				 	b:{'backgroundColor':'blue'}
				},
				methods:{
				}
			})
		</script>
	</body>
</html>
